/*
 * Copyright (C) 2012 Jakub Narloch (jmnarloch@gmail.com), All Rights Reserved.
 */

package org.soa.security.model.dto;

import java.io.Serializable;

/**
 * <p>Represents a service security DTO.</p>
 *
 * <p><strong>Thread safety:</strong> This class is mutable and not thread safe.</p>
 *
 * @author Jakub Narloch (jmnarloch@gmail.com)
 * @version 1.0
 */
public class ServiceSecurityDTO implements Serializable {

    /**
     * <p>Represents the service security type name.</p>
     *
     * <p>Zero by default.</p>
     *
     * <p>Can by any value.</p>
     *
     * <p>Has getter and setter.</p>
     */
    private long securityTypeName;

    /**
     * <p>Creates new instance of {@link ServiceSecurityDTO} class.</p>
     */
    public ServiceSecurityDTO() {
        // empty constructor
    }

    /**
     * <p>Retrieves the security type name.</p>
     *
     * @return the security type name
     */
    public long getSecurityTypeName() {
        return securityTypeName;
    }

    /**
     * <p>Sets the security type name.</p>
     *
     * @param securityTypeName the security type name
     */
    public void setSecurityTypeName(long securityTypeName) {
        this.securityTypeName = securityTypeName;
    }
}
